﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="DDDSample.DomainModel.Policy"
                   namespace="DDDSample.DomainModel.Policy.Commitments">
  <class name="CustomerAgreement" table="CustomerAgreement">
    <id type="Guid">
      <column name="Id" />
      <generator class="guid"></generator>
    </id>
    <many-to-one name="Subject" class="DDDSample.DomainModel.Potential.Customer.Customer" cascade="none"/>
    <property name="RoutingPolicy" type="Serializable" length="8001"/>
  </class>
</hibernate-mapping>